/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package ms.jasim.model.event;

import ms.jasim.framework.IJasimAppContext;
import ms.jasim.model.JasimModel;
import ms.jasim.model.ModelPackage;
import ms.jasim.model.NamedModelObject;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Event Reaction</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link ms.jasim.model.event.EventReaction#getOwner <em>Owner</em>}</li>
 * </ul>
 * </p>
 *
 * @see ms.jasim.model.event.EventPackage#getEventReaction()
 * @model abstract="true"
 * @generated
 */
public interface EventReaction extends NamedModelObject {
	/**
	 * Returns the value of the '<em><b>Owner</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link ms.jasim.model.event.ReactionList#getReaction <em>Reaction</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Owner</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Owner</em>' container reference.
	 * @see #setOwner(ReactionList)
	 * @see ms.jasim.model.event.EventPackage#getEventReaction_Owner()
	 * @see ms.jasim.model.event.ReactionList#getReaction
	 * @model opposite="reaction" transient="false"
	 * @generated
	 */
	ReactionList getOwner();

	/**
	 * Sets the value of the '{@link ms.jasim.model.event.EventReaction#getOwner <em>Owner</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Owner</em>' container reference.
	 * @see #getOwner()
	 * @generated
	 */
	void setOwner(ReactionList value);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model contextDataType="ms.jasim.model.JasimAppContext"
	 * @generated
	 */
	boolean react(IJasimAppContext context, JasimModel model, Event event);

} // EventReaction
